{extend name='public/layout' /}
{block name='content'}
<style>
    .n_h_box01{width:713px;}
    .n_h_box01 b{font-size:14px;color:#999;}
    .n_h_box01 b span{color:#666;}
    .n_h_box01 p{font-size:14px;}
    .n_h_img{width:138px;}
    .age_div3 ul{float:left;width:350px;}
    .age_div3 ul li{padding:0;line-height: 24px;border-bottom:none;}
</style>
<div class="main m_t_15">
    <div class="position"><p>您当前的位置：<a href="{:url('Index/index')}">{$site.title}</a> > <a href="{:url('Agency/index')}">经纪人</a></p></div>
    <div class="overflow_h">
        <div class="agent_left">
            <div class="n_h_n3_l">

                    <div class="tab04 overflow_h">
                        <ul class="idTabs">
                            <li><a class="selected">共找到 {$lists->total()} 个经纪人</a></li>
                        </ul>
                    </div>
                    <div class="news_h_box02" id="tab01">
                        <ul>
                            {volist name="lists" id='vo' empty='<li>暂无数据</li>'}
                            <li class="overflow_h">
                                <span class="n_h_img"><a href="{:url('Store/index',['uid'=>$vo['id']])}"><img src="__IMG__/head_logo.png" data-original="{$vo.headimgurl}" class="lazy" width="138" height="138"></a></span>
                                <div class="n_h_box01">
                                    <p><b>姓名:<span>{$vo.nickname}</span> 联系电话: <span>{$vo.buy_phone}</span> 所属公司: <span>{$vo.company}</span></b></p>
                                    <p>出售房源(<strong><a target="_blank" href="{:url('Store/used',['uid'=>$vo['id']])}">{$vo.chushou}</a></strong>)套&nbsp;&nbsp;出租房源(<strong><a target="_blank" href="{:url('Store/rental',['uid'=>$vo['id']])}">{$vo.chuzu}</a></strong>)套</p>
                                    {if condition='$vo.chuzu gt 0 or $vo.chushou gt 0'}
                                    {php}$uid=$vo['id'];{/php}
                                    <div class="age_div2">
                                        <div class="age_div3 clearfix">
                                            {notempty name='vo.chushou'}
                                            <ul style="margin-right:13px;">
                                                <li><span class="org">二手房</span></li>
                                                {fang:lists table='second_house' where="status=1 and user_id=$uid" field='id,title' limit='3' id='data'}
                                                <li><a href="{:url('Second/detail',['id'=>$data['id']])}" target="_blank">{$data.title}</a></li>
                                                {/fang:lists}
                                            </ul>
                                            {/notempty}
                                            {notempty name='vo.chuzu'}
                                            <ul>
                                                <li><span class="org">出租房</span></li>
                                                {fang:lists table='rental' where="status=1 and user_id=$uid" field='id,title' limit='3' id='vo'}
                                                <li><a href="{:url('Chuzu/detail',['id'=>$vo['id']])}" target="_blank">{$vo.title}</a></li>
                                                {/fang:lists}
                                            </ul>
                                            {/notempty}
                                        </div>
                                    </div>
                                    {/if}
                                </div>

                            </li>

                            {/volist}

                        </ul>
                        <div class="plastic_bottom_pages">{$pages}</div>
                    </div>

            </div>

            <div>

            </div>


        </div>
        <div class="house_r">
            <div class="m_t_15">
            <div class="title01">
                {$cityInfo.name}二手房推荐
            </div>
            <div class="s_h_tuijian">
                {include file='second/right' /}
            </div>
            </div>
        </div>
    </div>
</div>

{/block}